<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<script type="text/javascript" src="js/list.js"></script>
	<link rel="stylesheet" type="text/css" href="css/main.css">
	<style type="text/css">
        #a2 li{padding-left: 4em;font-size: 18px;cursor: pointer;line-height: 40px;height: 40px;}
	</style>
</head>
<body>
	<img id="exit" src="img/exit.png" onclick="ReturnMainPage()" />
	<div id="container">
		<!-- 导航栏 -->
		<div id="navi">
			<span style="display:block;background-color: #f7efdf;height:40px;font-size: 18px;width: 100%;line-height:40px;">&nbsp;&nbsp;&nbsp;<img id='icon' src="img/jian.png" style="vertical-align: middle;"  onclick='show("a2","icon")'/>&nbsp;&nbsp;&nbsp;各种生律法所产生音程的初步展示</span>
			<ul id='a2' style="display:block;background-color: #fffdfb;padding-top: 20px;">
				<li id='first' onclick="contentchange('first')" style="background-color:#fcf8ef">三分生律法</li>
				<li id='second' onclick="contentchange('second')">三倍生律法</li>
				<li id='third' onclick="contentchange('third')">五分生律法</li>
				<li id='forth' onclick="contentchange('forth')">五倍生律法</li>
				<li id='fifth' onclick="contentchange('fifth')">七分生律法</li>
				<li id='sixth' onclick="contentchange('sixth')">七倍生律法</li>
				<li id='seventh' onclick="contentchange('seventh')">11分生律法</li>
				<li id='eighth' onclick="contentchange('eighth')">11倍生律法</li>
				<li id='ninth' onclick="contentchange('ninth')">13分生律法</li>
				<li id='tenth' onclick="contentchange('tenth')">13倍生律法</li>
				<li id='eleventh' onclick="contentchange('eleventh')">17分生律法</li>
				<li id='twelfth' onclick="contentchange('twelfth')">17倍生律法</li>
				<li id='thirteenth' onclick="contentchange('thirteenth')">19分生律法</li>
				<li id='fourteenth' onclick="contentchange('fourteenth')">19倍生律法</li>
			</ul>		
		</div>
		<!-- 内容 -->
		<div id='content'>
			<div id="titile_img">
				<div id='title'>三分生律法：主音上方纯五度</div>
				<div id='imgall'>
					<img id="img" src="img/2.jpg">
				</div>
			</div>
			<div id='audioall'>
				<div id='audioone'>
					<audio id="audio" src="song/1.mp3" controls="controls">
						Your browser does not support the audio element.
					</audio>
				</div>
			</div>
		</div> 
	</div>
	<script type="text/javascript">
		function ReturnMainPage() { //返回主界面
			window.location.href = "index.html";
		}

		function contentchange(id) {
			switch (id) {
				case 'first':
					document.getElementById('first').style.backgroundColor = '#fcf8ef';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '三分生律法：主音上方纯五度';
					document.getElementById('img').src = 'img/2.jpg';
					document.getElementById('audio').src = 'song/1.mp3';
					break;
				case 'second':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fcf8ef';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '三倍生律法：主音下方纯五度';
					document.getElementById('img').src = 'img/3.jpg';
					document.getElementById('audio').src = 'song/2.mp3';
					break;
				case 'third':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fcf8ef';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '五分生律法：主音上方纯律大三度';
					document.getElementById('img').src = 'img/4.jpg';
					document.getElementById('audio').src = 'song/3.mp3';
					break;
				case 'forth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fcf8ef';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '五倍生律法：主音下方纯律大三度';
					document.getElementById('img').src = 'img/5.jpg';
					document.getElementById('audio').src = 'song/4.mp3';
					break;
				case 'fifth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fcf8ef';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '七分生律法：主音上方自然七度';
					document.getElementById('img').src = 'img/6.jpg';
					document.getElementById('audio').src = 'song/5.mp3';
					break;
				case 'sixth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fcf8ef';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '七倍生律法：主音下方自然七度';
					document.getElementById('img').src = 'img/7.jpg';
					document.getElementById('audio').src = 'song/6.mp3';
					break;
				case 'seventh':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fcf8ef';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '11分生律法：主音上方半增四度';
					document.getElementById('img').src = 'img/8.jpg';
					document.getElementById('audio').src = 'song/7.mp3';
					break;
				case 'eighth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fcf8ef';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '11倍生律法：主音下方半增四度';
					document.getElementById('img').src = 'img/9.jpg';
					document.getElementById('audio').src = 'song/8.mp3';
					break;
				case 'ninth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fcf8ef';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '13分生律法：主音上方中六度';
					document.getElementById('img').src = 'img/10.jpg';
					document.getElementById('audio').src = 'song/9.mp3';
					break;
				case 'tenth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fcf8ef';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '13倍生律法：主音下方中六度';
					document.getElementById('img').src = 'img/11.jpg';
					document.getElementById('audio').src = 'song/10.mp3';
					break;
				case 'eleventh':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fcf8ef';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '17分生律法：主音上方紧自然半音';
					document.getElementById('img').src = 'img/12.jpg';
					document.getElementById('audio').src = 'song/11.mp3';
					break;
				case 'twelfth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fcf8ef';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '17倍生律法：主音下方紧自然半音';
					document.getElementById('img').src = 'img/13.jpg';
					document.getElementById('audio').src = 'song/12.mp3';
					break;
				case 'thirteenth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fcf8ef';
					document.getElementById('fourteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('title').innerHTML = '19分生律法：主音上方增二度';
					document.getElementById('img').src = 'img/14.jpg';
					document.getElementById('audio').src = 'song/13.mp3';
					break;
				case 'fourteenth':
					document.getElementById('first').style.backgroundColor = '#fffdfb';
					document.getElementById('second').style.backgroundColor = '#fffdfb';
					document.getElementById('third').style.backgroundColor = '#fffdfb';
					document.getElementById('forth').style.backgroundColor = '#fffdfb';
					document.getElementById('fifth').style.backgroundColor = '#fffdfb';
					document.getElementById('sixth').style.backgroundColor = '#fffdfb';
					document.getElementById('seventh').style.backgroundColor = '#fffdfb';
					document.getElementById('eighth').style.backgroundColor = '#fffdfb';
					document.getElementById('ninth').style.backgroundColor = '#fffdfb';
					document.getElementById('tenth').style.backgroundColor = '#fffdfb';
					document.getElementById('eleventh').style.backgroundColor = '#fffdfb';
					document.getElementById('twelfth').style.backgroundColor = '#fffdfb';
					document.getElementById('thirteenth').style.backgroundColor = '#fffdfb';
					document.getElementById('fourteenth').style.backgroundColor = '#fcf8ef';
					document.getElementById('title').innerHTML = '19倍生律法：主音下方增二度';
					document.getElementById('img').src = 'img/15.jpg';
					document.getElementById('audio').src = 'song/14.mp3';
					break;
			}
		}
	</script>
</body>
</html>